﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FreeFlow
{
  /// <summary>
  /// Interface used to get images for image fields
  /// </summary>
  public interface IGetAttachment
  {
    /// <summary>
    /// Gets the specified attachment.
    /// </summary>
    /// <param name="type">The attachment type.</param>
    /// <param name="file">The file name.</param>
    /// <param name="owner">The owner of the attachment.</param>
    /// <returns></returns>
    byte[] GetAttachment(AttachmentType type, string file, string owner);
  }
}
